import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// 1.引入vant组件库所有组件，完整引入
import Vant from 'vant'
// 2.引入vant样式文件
import 'vant/lib/index.css'
// 3.将vant组件中的组件注册vue实例中
Vue.use(Vant)

// 4.引入axios.js
import axios from "./api/axios"
import api from './api'
Vue.prototype.$axios = axios
Vue.prototype.$api = api

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
